package cn.smart.service;

import cn.smart.pojo.Fgroup;
import cn.smart.util.SmartResult;

/**
 * @author Xiezh
 * @Description:花组的业务层
 * @create 2017/8/16
 */
public interface FgroupService {
    //新增一个花组
    SmartResult insertFgroup(Fgroup fgroup);
    //删除一个花组
    SmartResult deleteFgroup(int fgId);
    //更新花组
    SmartResult updateFgroup(Fgroup fgroup);
    //通过主键查询花组
    SmartResult getFgroupByFgid(int fgid);
    //查询用户名下指定花园
    SmartResult getUserAllFgroup(int fgGid);
}
